package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entity.Coment;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CommentMapper {
    @Insert("insert into comment(content,created,user_id,weibo_id) values(#{content},#{created},#{userId},#{weiboId})")
    int insertComment(Coment coment);


}
